]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appMenu: Hide stopped spinner actor
authorJoonas Henriksson <joonas.henriksson@gmail.com>
Mon, 18 Nov 2019 20:25:59 +0000 (22:25 +0200)
committerJoonas Henriksson <joonas.henriksson@gmail.com>
Tue, 19 Nov 2019 18:56:16 +0000 (20:56 +0200)
Get rid of leftover empty space from the application menu panel
button, that was used by the spinner actor, which remained visible
even after the spinner had stopped.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1679
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/832

js/ui/panel.js

index 9e05722bfffffd111fcc22500947fbae23130536..73002d039b658666f8daa07f52719bab84be7545 100644 (file)
@@ -239,6 +239,7 @@ var AppMenuButton = GObject.registerClass({
 
         this._spinner = new Animation.Spinner(PANEL_ICON_SIZE, {
             animate: true,
+            hideOnStop: true,
         });
         this._container.add_actor(this._spinner);